/* CAJAS DE TIENDA ONLINE */
.shop-boxes {
    position: relative;
}

.shop-boxes-btn {       
    background: var(--brand-black);
    color: var(--brand-white);
}

.shop-boxes-bg {
    width: 100%;
    /* background: linear-gradient(to bottom, white, rgba(255, 255, 255, 0) 35.71%), var(--bg-shop); */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1) 100%), var(--bg-shop);
    height: auto;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    min-height: 45rem;
    /* background-attachment: fixed; */

}

@media (max-width:768px) {
    .shop-boxes-bg {
        width: 100%;
        background: linear-gradient(to bottom, black, rgba(255, 255, 255, 0) 15.71%), var(--bg-shop);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        height: 45vh;
        min-height: 22rem;
        max-height: 35rem;

    }
    .shop-text>a {
        position: relative;
        top: -5rem;
    }
    .container-btn-tienda + h2{
        margin-bottom: 16rem !important;
    }
    .container-btn-tienda + h2 + div button{
        width:100%;
    }

    .shop-text > h2 {
        font-size: 2.125rem !important;
        line-height: 2.59rem !important;
    }

    .shop-text > div > p {
        margin-top: -0.5rem !important;
    }
    .shop-text {
        padding: 1rem 0;
    }

    .container-btn-tienda + h2 {
        margin-bottom: 0 !important;
    }
    article.shop-boxes div.shop-text:has(.bannerButton){
        height:100% !important;
    }
    .bannerButton{
        position:absolute;
        width:100% !important;
        bottom: 5%;
        padding: 0 1rem;
    }
}

@media (max-width:500px) {
    .shop-boxes-bg {
        min-height: 32rem;
        height: 110vh;
        max-height: 38rem;
    }
    .shop-text>a {
     
        position: relative;
        width: 100%;
        display: inline-block;
    }

}

@media (max-width:360px) {
    .shop-boxes-bg {
        min-height: 40rem;

    }
    .container-btn-tienda + h2{
        margin-bottom: 12.4rem !important;
    }    

}

.shop-text {
    position: absolute;
    width: 100%;
    top: 0;
    /* background: linear-gradient(to bottom, white, rgba(255, 255, 255, 0) 96.71%); */
}

.shop-text>p {
    color: var(--brand-white);
    font-size: var(--title-6);
    font-family: var(--font-family-1);
}

.shop-text>h2 {
    color: var(--brand-white);
    font-size: 3.125rem;
    font-family: var(--font-family-1-2);
    font-style: normal;
    font-weight: 700;
    line-height: 3.5rem;
    text-transform: uppercase;
    margin: 1rem;
}

.shop-text > div > p {
    color: var(--brand-white);
    font-family: var(--font-family-1);
    font-size: var(--paragraph-1);
    font-style: normal;
    /* font-weight: 700; */
    line-height: 21.8px;
    /* letter-spacing: 0.3rem; */
    margin: 0 1rem 1.5rem;
}

/* .shop-text>a {
    text-decoration: none;
    border: 2px solid var(--gray-dark-2);
    padding: 0.5rem 2rem;
    color: var(--brand-black);
    font-family: var(--font-family-1);
    font-size: 0.88889rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.22222rem;
    text-transform: uppercase;
    background-color: var(--brand-white);
} */

/* .shop-text>a:hover {
    color: var(--brand-white);
    background: #0000004f;
}

.shop-text>a:active {
    background-color: var(--gray-dark-4);
} */

@media (max-width:768px) {
    .shop-text {
        position: absolute;
    }

    .shop-boxes {
        position: relative;
    }
    .shop-text>h4 {
        font-size: 1.625rem;
        line-height: 2.125rem;
    }

    .shop-boxes>img {
        margin-top: 2.5rem;
    }
    .shop-text > div > p {
        line-height: 19.38px;
    }
    .shop-boxes-btn {
        width: 100%;
    }
}

@media (max-width:500px) {
    .shop-boxes>img {
        margin-top: 1rem;
        min-height: 276px;
        object-fit: cover;
    }

    .container-btn-tienda {
        /* padding-bottom: 4rem; */
    }

    /* .shop-text > div >p {
        font-size: 0.75rem;
    } */
    .shop-boxes-bg {
        min-height: 18rem;
        height: 80vh;
        max-height: 30rem;
    }
}

@media (max-width:384px) {
    .shop-boxes-bg {
        min-height: 20rem;
        max-height: 25rem;
        height: 100vh;
    }
    .container-btn-tienda {
        /* padding-bottom: 1rem; */
    }
}